package com.maomao.mybatis.dao;

import com.maomao.mybatis.domain.Department;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *
 * @author admin
 * @date 2018/5/14
 */
@Mapper
public interface DepartmentDAO {
    int insertAndGetId(Department department);
    int addTrainRecordBatch(List<Department> departments);
}
